
//Title:        RMI Chat Program
//Version:      
//Copyright:    Copyright (c) 1999
//Author:       Chris Casey
//Company:      UCLan
//Description:  A Chat Server and Client using RMI
package rmichat;

import java.rmi.*;

public interface ChatServer extends Remote {

 public void addChatListener(ChatListener cl) throws RemoteException;
 public void removeChatListener(ChatListener cl) throws RemoteException;

 public void sendMessage( String Author, String message) throws RemoteException;
 
 // public int getCount() throws RemoteException;

} 